Close File ["Hosted_Database"] does exactly that on OS X,
but leaves the server open when exactly the same sync is run on iOS.
Specifically the Close File ["Hosted_Database"] that is not working
is in FMEasySync, script Sync Check Client line 51
FMEasySync: A FileMaker Sync Framework
OS X 10.11.4 MacBook Pro: FM Pro 14 & 15
iOS 9.3.1(13E238) Model MGWM2CL/A: FMGo 14 & 15
Tired adding a Close File ["Hosted_Database"] in line 136 of "Sync With Server" ( FMEasySync ) at the beginning of #restore user interface
but this just generates an error 301: which is record is already in use. But of course the error only occurs on FMGo.
Hosted database is an external source and not seen in relationships as a related file.