public void closeSocket() throws IOException {
        if (this.socket != null && this.socket.isBound() && !this.socket.isClosed()) {
            this.socket.close();
        }
    }
Close the client socket if it is open
src/main/java/de/gessnerfl/fakesmtp/smtp/server/Session.java