Correctly connect to serial port