Z_importkey: execution time is too long leading to timeout (testnet)

I use z_importkey to import z private key, but it was not successful for me. How can you help to run it?
thank you!