Solution here for those interested: Behavior of web apps when user leaves browser open - #3 by minijohn