Fix race in attachable network attachment Upstream-commit: 6987557e0cef9bd139128e62d86586a40cda6036 Component: engine