Added option to configure retrial count and wait time when checking release status