provide a callback if a task fails to perform
If a task fails, make sure that terminal task gets invoked so future is fulfilled
0.10.0