It is probably to do with the settings.. Its prob set to disconnect after X number of mins, The defaul is usually 20 mins though if idle.
Please state which OS is in use and we shall tell you how to alter the settings.
OnePlus 5 review
Corel Painter 2018 launched, adding tools for thick paint
iPad Pro 10.5in (2017) review
Comment faire une capture d’écran sur un Mac ?