QPID-5390 : [JMS AMQP 1.0] ConcurrentModificationException when closing a connection (patch from Xin Chen)

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