It can be any number of problems. Basically the keep alive task is doing a server side web request. This may be blocked by trust policy configuration, like by default medium trust does not allow outbound web requests usually hosts modify the trust policy to allow it, failure to resolve dns correctly, or a firewall that is blocking the outbound requests.
Hope it helps,
Joe