To properly clean up the Resolv class we should call the [close](http://ruby-doc.org/stdlib-2.0.0/libdoc/resolv/rdoc/Resolv/DNS.html#method-i-close) method in the close method of the filter.