[DROOLS-379] Prevent Memory Leaks