Prevent deadlocks on recursive calls (deleting communicators with
attributes from an attribute callback).