redis timeout in batch