queue.close will close underlying connections