keep timer thread for a while. simplify clear thread handling.