init local srv parameter with self.name to avoid threading pitfalls