end connection of redis client