Interrupting while running

If newsstar is sent an interrupt signal (SIGINT), usually by pressing Ctrl-C in the terminal it's running on, it will not exit straight away, but first wait until it's received all articles it's requested which are held in the "pipeline" etc and log off cleanly from all servers.

If it receives a second SIGINT at this stage, or another non-drastic signal at any time, it will discard any partially downloaded articles then try to log off from any servers but not wait for acknowledgement.