fixed npe on ownerConnection in clientConnectionManager

fixes #3169
Isn't this dangerous? while holding a lock, you are going to wait potentially 5 seconds. This means that any other block needing that ownerConnectionLock is going to block.