Set task retry limit to 1.