Testing two serial ports with Threads