wait for API server to be up or else config values are not saved to db