Fixing some rwlock scope in iface_manager.cc