use keep-alive to keep the user connected even when page isn't focused