I am in the process of migrating v2 Chrome extension to Manifest V3 format. enter image description here
Why service worker would be disconnected after about 5 mins, and is there any way to solve this problem? for this, I have to reconnect the worker when it disconnected.