Throw exception when task already done