As I understand it, but I might be wrong:
There are 2 suspend states on sailfish, early and late suspend. In late suspend, some communication is killed, to save battery usage. With the command I found, you disable late suspend, so it might keep communication with your device alive. Or it might not. But it is worth a try.
https://sailfishos.org/wiki/Sailfish_OS_Cheat_Sheet#Blocking_Device_Suspend