pub(crate) async fn handle_signals( signals: Signals, term_tx: Sender<()>, publisher: PublisherPtr<Args>, ) -> Result<()>
Auxiliary task to handle SIGHUP, SIGTERM, SIGINT and SIGQUIT signals