void awaitPendingOps() {
            if (DBG_STATE) {
                synchronized (ssl) {
                    if (state != STATE_CLOSED) {
                        throw new AssertionError("State is: " + state);
                    }
                }
            }

            synchronized (writeLock) {}
        }
Method acts as described in spec for superclass.
@see java.io.OutputStream#write(byte[],int,int)
common/src/main/java/org/conscrypt/ConscryptFileDescriptorSocket.java