infinispan/infinispan — pull request #1685 by tristantarrant (2013-02-26 20:37:46+00:00)
Title: ISPN-2867 Use System.exit() to quit the CLI 

ISPN-2867 Use System.exit() to quit the CLI to workaround the fact that JBoss Remoting leaves threads hanging

https://issues.jboss.org/browse/ISPN-2867

Both master and 5.2.x