make things that look like closeables implement Closeable