fix: jasmine task hangs if a spec (intentionally) fails on loading an iframe 

please see attached test to explain the problem. The actual fix happens in `grunt-lib-phantomjs` where I will send a pull request in a second.