Fix 'Restarting' dialog was not getting hidden in time

So the UI gets stuck in 'Restarting' modal for up to a minute.
This is because the event call seems to block until a there are new events:
![](http://i.snag.gy/5bR4B.jpg)