streamConnection.connect(host, port, username, password);
startRecording(parser.getRemainingArgs()[0], host, port, username, password);
ConsoleReader reader = new ConsoleReader();
Thread t = new Thread(reader);
t.start();
streamConnection.waitFor("asfdasfasfdSomeStringThatDoesntExistasdfasdf");
endRecording();
System.exit(0);
}
return parser.getRemainingArgs();