As far as I know you can't. It shouldn't time out when a device has an active connection.
Correction. There is a way to configure the time out. Open your mobile hotspot settings. In the upper right there are 3 dots, click on that and select time out settings.