Mira with dedicated M4l patch loses connection with max when closing window

Xander Sijperda's icon

Hi,
I made a Max for Live patch which includes a Mira.Frame object. The patch allows me to control Robert Henkes Granulator by MIRA with my I -Pad. When the M4L patch is opened in Max itself. the connection between Mira and the other M4L-devices in Live is fine. But as soon as I close the maxpatch window the connection is lost. Is there a way to maintain the Mira-M4L connection while closing the max window?
Any help would be great! Thank you.
Xander

Mira-to-Granulator-controller.amxd
amxd