closeAutoCloseableMembers

Closes all AutoCloseable members of the class.