made nl.run_in more robust to silly behavior