eventloop: Break timer run loop when no timers waiting.

Also initialize deadline to -1 and delay an arbitrary 5 seconds when
no timers waiting.