[fixes #294] finally work correctly with on(‘error’)
Finally should correctly trigger on('error')
Merge pull request #328 from teddyzeenny/finally-on-error

Finally on error