Wait for time to be set correctly