[802] Fix crash when trying to send empty data to SerialPort