code: def close(self):
          
          self._serial.write(b"@c")
          self._serial.read()
          self._serial.close()
docs: Closes the connection to the serial port and ensure no pending
          operatoin are left