fix signal handler bug
add rpc duplication register worker id bug check