Usually no problem for H visa. Third country visa application doesn't help because there is only one entry for H4, unless you plan to go back to China directly from the country where you apply.