fixed xandosdroid freezing due to not closed socket