Improve sync_time in utils