add fix for redis stop race condition