Fixed some spot instance bugs.

- Wait for the spot instance request to be fulfilled and grab the instance_ids.
- Fix missing exception.