Fixed serial port once connected, being removed from ui.