Redirect stdout, stderr, and stdin individually for each thread to its connected remote console. This makes the print statement send its output to the console on which it was issued instead of the main console.