Optimal Exit Time for Liquidity Providers in Automated Market Makers | Synapse