Task state now being checked before request