Fixed to cleanup tenant when unloaded and release classloader