prevent  from eating memory . Rename invalidate function to invalidateAll
it is meant to invalidate the contents of the texture, not the texture handle (that is invalidates job)