[HapProcessZabbixAPI] Fix a potential problem that might update a structure while it's using in another thread.