Soft landing of a stock market bubble