add a Simple timer class SimpleTimer.cc to let the background thread
execute the task after a certain time.