Emulate AsyncTask networking