.......PS. [ZBXNEXT-101] minor improvement of get_process_info_by_thread() function