clean up partial network when loading failed.