is it possible to keep checking if a website is online or offline in a PWA service worker, and give a notification if the website is offline? So when a website is offline it should give a notification to my PWA user that the website is offline. I use reactJs ad my front end