extend Task exception handling