Fixes socket timeout for Android