Invoking:
c := make(chan os.Signal)
signal.Notify(c, signals...)
is explicitly called out as a bug in the os/signal docs
and should instead make that channel buffered lest
a signal could be lost.
Fixes#7950
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>