Changed the way memory manager works to remove use of overriding finalize, so jobs will now consistently clean the hdfs MemoryManager location.