Fixed a deadlock in req_commit with pque.