moved the function to exit of ArmZabbixAPI to the base class: ArmBase.