Do not leak tcp connection on ssl hanshake error