Currently we open the serial port on server start and leave it open. It should only open the port as needed, and close it when it is no longer needed.
If the port is not open when a send is attempted, the following error is thrown:
serial.serialutil.SerialException: write failed: [Errno 5] Input/output error