resolve the remaining deadlock at pause time
resolve the remaining deadlock at pause time

do not hold the lock when waiting for events to quiesce
some of them may want to call methods on the connection.

zk-ruby/zk,rickypai/zk