Checks redis before sending an http request