This resolve the problem of the GUI crashes when the reset button is pushed (thread ROS - thread Qt).