What the Chinese stock market crash can teach you