function Subscription.Fail(H)if H._state~=stateTypes.PENDING then return end H._state=stateTypes.FAILED if H._failCallback then H._failCallback()end H:_doCleanup()end

function Subscription:Fail()
	if self._state ~= stateTypes.PENDING then
		return
	end

	self._state = stateTypes.FAILED

	if self._failCallback then
		self._failCallback()
	end

	self:_doCleanup()
end

