All technical communication and connection problems are handled by the platform, not by scripts. You're not supposed to write scripts for solving server connection issues.

This is not specific to Zorro, but to all professional trading software. Trading part and technical part are normally strictly separated. You would also not expect to write a script for reconnecting your browser anytime when Internet connection was lost. The browser just reconnects. So does Zorro.