BZ-1039045: catching exception task completion