Make LeaderSelector a field.

curatorResources is no longer needed because the LeaderSelector instance is
available as a field and we can close it directly in postStop().