virtual bool close() { thr->stop(); delete thr; return true; }
virtual bool close() { if (control_thr) { control_thr->stop(); delete control_thr; } return true; }