Bug fix

Fixed a bug that crashed the application on devices that used "HoneyComb
SDK" or higher.

This is not a proper fix, only a hack that allows networking in the main
thread. Optimization is required.