Avoid call to failure block when operation is cancelled
Use autorelease pools within completion blocks
Add mods from pull request 906
Add extra autorelease pools