Worker tries to reconnect to Redis up to 3 times

backport of 2bfc49ef05728ea0fe2817c35d75aeaa18df757f