We need to make sure that sub processes get joined. See also [this link](https://stackoverflow.com/questions/2760652/how-to-kill-or-avoid-zombie-processes-with-subprocess-module)