Implement killing an async process.