Cleanup the threaded network loop on GC free instead