Internal to the SAR310P.C module. This function should not be called by any function outside of this module, due to the hardware configuration of the PC. This function closes the com port. It is called when the com port is no longer needed.