Implements recursive thread collection