Use daemon threads for remoting endpoint in CLI

The commit here fixes the CLI shutdown problem reported here https://community.jboss.org/message/819992#819992