[v9_11] Fix a shutdown race in bin/dig/dighost.c

Closes #599 (closed)

Merge request reports