Fix arguments for QUEUE-POP-WAIT