SCHEMA-685. Clean up unclosed resources tracking and unclosed resources themselves.

issue: https://jira.kiji.org/browse/SCHEMA-685
review: https://review.kiji.org/r/1748