libceph: allow sock transition from CONNECTING to CLOSED