Fail the installer on unsuccessful registration

and wait till we receive the certificate, poll each 15 seconds.