made a few classes implement closeable
Merge pull request #370 from dcapwell/implement-closable

made a few classes implement closeable