made the TimeClient multi-threaded