read stdout and stderr one more time after the process finishes to make sure we didn't miss anything