fixed: when failed to register device /w regid and old registered device uuid is not exist, give up registering attempt.
fixed: when failed all attempts, delete device /w uuid or regid and set register status to false.