Fix some of the locking in RMManager to prevent some deadlocks on close where a shutdown would ask to terminate the sequence, but we could not process the sequence ack on the decoupled channel.

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