Try to receive as many events as possible during sleeps without going over the timeout.