Add a node only if there is at least one waiting job