Updated latency tester, also fixed android crash on connection lost