QPID-5389 : [JMS AMQP 1.0] ConnectionHandler may stop writting pending frames if close is called right after the connection is started (patch from Xin Chen)

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