refactored the use of the CuratorNoLongerActive exception