Wait for sockets to close at exit
Flush message from clipboard monitor before disconnected
Always use unique name for clipboard monitor