Avoid adding task to ready if it's already there.