Stop refresh on failure or completion.