why did the ming dynasty isolate themselves