Add Redis Cache
Minor Typo Fix
Fixes Following flake8 and pylint
Expire Lock In Redis

* Ensure that the lock, if created, gets an expiration time. This should
  prevent locks from becoming permanently stuck.