hs-v3: Add the helper function mark_conn_as_waiting_for_circuit