Fixing timing issue with test redis server