RPC-PAC: loop in gensec_update() untill the server side is ready