Create method to control worker auto-restart mechanism
Improve creating worker ID