Less work while holding connection lock
Use separate lock for asyncore deque