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