Hopefully will remove flakyness. Each of the two tests run in their own directory and the ProcessStreamHandler now shuts down correctly