The Need for Smarter Wallets in DeFi to Avoid Overnight Losses