asdf
close the redis connection after the loop terminates