FactoryLocatorImpl implements AutoClosable