added connection drop and reconnect