Fixing memory leaks caused by threads that reference a destroyed openmrs
class loader after every spring refresh: Investigate possible memory
leak in 1.9.0 or one of its bundled modules. - TRUNK-3440