closes #2

Check the rv from lcb_wait when connecting