Write a Python script that interacts with the AWS API to find and terminate all orphaned EC2 instances.