Session with ZooKeeper should closed before server stopped

fix #593 

By the way, `server_helper_impl` may be bad name for the module which manages session with ZK.