fix: call worker unref
instead of terminate
#10120
Merged
unref
instead of terminate
#10120