private static void closeSocket(Socket sock){
  try {
    sock.close();
  }
 catch (  IOException ex) {
  }
}

private static void closeSocket ( Socket sock ) { try { sock . close ( ) ; } catch ( IOException ex ) { } }
close socket and eat exception
