added CLMem cleanup