attempt to keep the background page alive because it's causing directory entry to become invalid when it suspends
further tweak/improve the prevent suspend to allow suspend when the window closes