make network related tasks asynchronously
Merge pull request #6 from danny8376/MyMod

Make network related tasks asynchronously