Using Sentinels to stop processes.
New thread for feeding the work queue