Renew certificates and handle new return value of wait_until