Fix in the serial port connection and initial time sync class