clean up old cache before allocating new one
removed print statement
Merge pull request #928 from ilastik/pr-issue-910-final-haha

[Thresholding Operator] clean up old caches