Trying to cleanup memory on LCS.