Add asynchronous shutdown mechanism for communicator.
Add option -K to be able to stop the daemon.