Fix network callback for restarted service