Implement Closeable where relevant

This helps to advertise closeability of resource.