add removeTimer() to cancel thread in case of reset