Fixed disconnect warning not being trigger on timeout