retry if instance isn't ready to be registered
make proper constant
Merge pull request #12 from onefinestay/retry_registration

retry if instance isn't ready to be registered