agentk: wait for underlying connection to be ready in polling RPCs
Relates to #446 (closed).
Turns out gRPC has a call option for waiting for availability of the underlying tcp connection.
I only changed the polling calls to use it. gitlab_access
module is not polling so it calls RPC normally.
I'll open a separate MR for similar changes in kas.
Edited by Mikhail Mazurskiy