wait for time set