UIMA-3842 modified to prevent closing of shared connection as it causes AMQ to complain violently in the log. Instead call shutdown on a listener. The last listener called will clean up the shared connection.

git-svn-id: https://svn.apache.org/repos/asf/uima/uima-as/trunk@1599319 13f79535-47bb-0310-9956-ffa450edef68