Fixed test to expect transport timeout when OnConnected fails.