Changed the network connections to an async function