block_until_ready
ret = block_until_ready(okmsp);
if ((ret = block_until_ready(okmsp)) != 0) {
int block_until_ready(okms_t *okmsp);