in general there is no need to “keep the connection” alive. doing so would maybe address symptoms but not the root cause.
you can see the address of the remote system in the logs. Start troubleshooting the problem systematically - review the Collabora integration guide and check which part of the the “communication triangle” is broken once the issue starts. This helps you understand where to apply countermeasures.