public void runHandleInThread() {
        Thread t = new Thread(new Runnable() {
            public void run() {
                try {
                    MinesweeperServer.handleConnection(socket);
                } catch (IOException e) {
                    e.printStackTrace();
                } finally {
                }
            }
        });
        t.start();
    }