added closed thread cluster recognition