Fixed crashing on exit due to using old way of stopping the do_tox calls