io: increment counter when killing off subcommand