game capture - changed where the keepalive check occurs in code, just to be safe