@Override
        public void close() {
            if (this.open.compareAndSet(true, false)) {
                Thread thread = this.listeningThread.get();
                if (thread != null) {
                    thread.interrupt();
                }
            }
        }
Checks the connection, and re-opens it if necessary.

@return true if the connection is now alive, false otherwise
common/src/main/java/me/lucko/luckperms/common/messaging/postgres/PostgresMessenger.java