Fix proxy management for temp area cleaning. Fix #4337