Shut down Whonix gateway before Workstation\Ubuntu gateway

Hello! Tell me please.
There are any problems with privacy, then I turn off or restart the whonix gateway in front of the Workstation \ Ubuntu gateway.
This happens because of the unstable Internet.
Can ip leak?

No. Connection fails closed because the only way to contact the internet is thru gateway.