work around bug in IO::Async::SSLStream