I\'m writing a class in Groovy where it makes an ssh connection using JSch and runs a bash script which itself takes around 5 minutes to run and print all the output. So far