This method is called by p6IEventQ to tell the event source to stop servicing I/O requests and shutdown, terminating any worker threads, freeing buffers etc.
This call will block until all threads have been terminated.