Add wait_for_pending_acks_returns