Indeed. In this particular situation it cannot happen since that reservoir is normally not under pressure, but I've had a not properly connected line (my fault) disconnecting while performing an unrelated operation.
Luckily that one was just a quick trip to the parts store to get the right fluid and reconnecting the line properly this time!
Hey, better this happen while you're wrenching than when you're zooming through the twisties and need to stop