The correct fix is to make the Effect resilient by cleaning up subscriptions, connections, timers, or other resources.