Servers are never restarted, you're losing connection due to unknown but definitely local problems. For a start, when it disconnects, go to Logs tab and click the lifebelt icon, then paste/upload the output here so we know what we're working with here – you failed to mention even the basic info about your device, so please do that.