Database now implements Closeable.