fix DisconnectHandler exception