clean up network calls