EventLoop::monitorEventLoop and command-line option to enable.

Change-Id: I3ffc3378e90f35e98173ea6057bfc5b6d7c88221