Make sure cb only called once in queue.close().