STREAM-432: patch tcp::connection::close() for windows