correct waitResult function, ack on rollback