Using generators, excluding nodes, timeout