Some refactoring in Hub, adding Mutex to target_list operations