public void close() throws IOException {
   sender.close();
   receiver.close();
 }