Starts the dispatch loop of an event notification environment. It has no effect if the application uses its own thread pool.