Why do I dc after 10 seconds of inactivity sometimes?

Sometimes when I am standing still doing no actions with my guy he dc's after like 5 seconds + or it varies. Sometimes it is rather strict or sometimes my computer doesn't dc at all. Anyone have this problem or a solution?