log_sender: use signal handler to remove message queue when ctrl-c is pressed