Fixed disconnect warning not being triggered on timeout