I'd add an `assert(conn.m_replyRefCount == 0)` here to make sure the logic is right.