Closing a connection after sending an IP command

Hello!

Where and how can I modify the configuration file to close the connection after sending the command.
This is required by some devices for correct operation when you press and hold. (Volume, channels, right, left, up, down …)
For example, satellite receivers Fortis

My understanding is Simple Control automatically closes the connection after 15 seconds of no activity.