Use constants
Made delay configurable
Block when the redis pool is exhausted.
Added javadoc