Task did not call done() properly