Add 30 second timeout to detect closed tabs/browsers.