test redis thread