If we get a signal while shutting down, we could end up sending on a closed channel. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>