Use as_completed to iterate over the futures
Add SIGINT handler