Use judge as context manager