Distributed nData - Cleanup memory leaks in case of crash