Fixed exception when running network operations. TEMPORARY FIX!!
We need to change network operations to run on a separate thread.