Closeable future for whois socket and InputStream