[lab4-part1] fix rpc call and revoke and retry handler