snapmirror-resync is not returning after execution for C API but working fine with perl API.
Upon investigation I found following pstack trace.
#0 0x0000003b1ca0dc95 in recv () from /lib64/libpthread.so.0
#1 0x00000000005410c6 in shttpc_read ()
#2 0x00000000004154ce in xml_parse ()
#3 0x0000000000412b3f in na_server_invoke_elem_http ()
#4 0x0000000000411590 in na_server_invoke_elem ()
What could be the possible reason?