Added failure and cancel callbacks