Allow promise to deliver even after tasks are done