Shutdown server when unable to connect to redis

Without this code, when redis is unable to connect nothing happens.