rewrite unknwown error got because of missing SSL_shutdown from .NET client