add redis client and simple exit handler