You're going to have to provide more details. No one can diagnose a problem without knowing, at minimum, what hardware, what OS, etc.
Sounds like (and I could be wrong) either overheating causing something to shut down physically, or a timed disconnect.