dis and reconnection handling