disconnect redis after finishing

otherwise, we have some memory leaks