App stops running after a few minutes

Hi,
When I run my app (the algorithm needs 1 hour to run), it stops running after a couple minutes…
Is there a way to stop or extent this time out ?
Thanks.

That is not a connection problem.
Did anyone experience the same issue ?
My app stops running roughly after 20 min…