ENH: Add a method to allow abortion of the fetching stage of actions.
Abort now allowed before every action, not just fetch.
Use threading.Event to signal abortion of fetching.

Also closing the file object before aborting fetching.
Merge pull request #105 from agrawalprash/allow-aborting-execution

ENH: Add a method to allow abortion of the fetching stage of actions.