Ich habe die Methode logout wie folgt angepasst:

public static void logout(int exitStatus){
//send F3
if(ARGS.DEBUG) System.out.println("Logging out...\n sending F3...");
send((char)27+"3");
waitReceive("===>",NONE);

if(ARGS.DEBUG) System.out.println(" requesting signoff...");
//send logout
send("signoff\r");
//waitReceive(";53H",NONE);
if(ARGS.DEBUG) System.out.println(" terminating connection...");

close();
if(ARGS.DEBUG) System.out.println("Logged out.");
System.exit(exitStatus);
}

Dann sollte es klappen...

Gruß,
Michael