replaced order of redis connection creation
Merge pull request #673 from liorsion/master

If a block is not sent to redis method, a connection is created anyway