changed redis timeout to 3 seconds