Implement Closeable where relevant

This helps to advertise closeability of resource.
Merge pull request #282 from ash2k/closeable

Implement Closeable where relevant
Fixes for #278
Fixes for #284