How to fix unstable connection issues on Android?