Fix Memory Leak in Save/Load Task