shutdown the pipe if SSL_SHUTDOWN.