stop timer thread when solve