Android - Avoid poor WiFi connections