moved wait_for_transaction to CCIManager