Taiwan flags risk if China joins pact first