add hard stopping of the memory leaks