avoid unnecessary delay when we only have nopref tasks