prevent classloader memory leaks