Source: https://money.stackexchange.com/questions/44226/saving-tax-for-long-term-stock-investment-capital-gain-by-quiting-my-current-job