added LifecycleListener for client-reconnect