sets client connection state to pending