There are only 2 instances where Stargate's servers will disconnect your connection:

It is also possible that your computer is set to disconnect when it is idle. To check if an idle disconnect option is set on your computer: