fork from https://github.com/debasishg/scala-redis-nb