Revert "Revert "fixed internet exception on main thread for higher version - for development environment only""

This reverts commit e3b310851b649315ca9fc625e34e3d8ec9eca67b.