This method needs to handle exceptions from the completed task