Refactoring to get rid of keep_time thread