Close the redis connection reliably.
Merge pull request #1 from strandmon/patch-1

Close the redis connection reliably.