The service worker life cycle