public void close()
 {
     if (client != null)
     {
         client.Disconnect("tcp://" + address + ":" + port);
     }
 }