message: mstarch: more force closures to ensure socket is closed
diff: @@ -88,7 +88,9 @@ namespace Drv {
  }
  void SocketHelper::close(void) {
  + if (this->m_socketInFd != -1) {
  (void) ::close(this->m_socketInFd);
  + }
  this->m_socketInFd = -1;
  this->m_socketOutFd = -1;
  }
  @@ -97,7 +99,9 @@ namespace Drv {
  SocketIpStatus status = SOCK_SUCCESS;
  // Only the input (TCP) socket needs closing
  + if (this->m_socketInFd != -1) {
  (void) ::close(this->m_socketInFd); // Close open sockets, to force a re-open
  + }
  this->m_socketInFd = -1;
  // Open a TCP socket for incoming commands, and outgoing data if not using UDP
  status = this->openProtocol(SOCK_STREAM);
  