Refine checking if request succeeds or not