An alternative way to disable middlemanagers based on worker version