add closer - a monad for java.io.Closeable