Don't try to exit while waiting on a waitfor