adding handling for Ctrl+c events so retries won't retry forever