.......PS. [ZBX-8699] improved zbx_sleep_loop function