plugin made thread-safe due to manual locking, ego network read implemented