final void checkOpen() throws SocketException {
        if (isClosed()) {
            throw new SocketException("Socket is closed");
        }
    }
Set the handshake timeout on this socket.  This timeout is specified in
milliseconds and will be used only during the handshake process.
common/src/main/java/org/conscrypt/AbstractConscryptSocket.java