Closes previously opened communication port.
procedure Close();
void Close();
None.
1) If port is not open Close method does not throw any exception.2) Port will be closed automatically on object destruction.