Forked funcQueues module to make the copy for node-tromp lean