Reusing get_queues for whole separate block.
Making 64bit ints default int type for closures.