refactoring to make processrunner read the process output asynchronously in a different thread
Testing the chunking of the response