The CLI native client in previous versions of Red Hat JBoss Enterprise Application Platform 6 created the remoting endpoint in a user thread instead of a daemon thread. This meant that the JVM did not kill these threads when it exited. Those threads would prevent some applications from exiting cleanly and cause them to hang.
The remoting endpoint is now created in a deamon thread which allows the JVM to automatically kill it on shut down. As a result, applications now close as expected and no longer hang on JVM exit.