No, it is not possible.
If the iOS file contains elements of the hosted file in its schema (graph), the hosted file will not close, once those elements are invoked, until the iOS file is itself closed. I
f that is an issue, you will need to use a second iOS file, with no connection to the host, to handle any work you want to do without the host file open. That structure will require moving data back and forth between the two iOS files, and maintaining tight control over that data movement.