task status handling, depending of catched exception
if exception is catched - task status is set to broken