Added error check for Time Sync
Added error check for Time Sync