Refactor

The backend clients are watching folders and need to take action when something happens. 
For the zk client version we want to purge_clients on "expired_session". so I'm passing purge_clients in a block that way each time the on_expired_session callback is fired by the zk gem I can execute purge_client in the client context.