I think you are doing it wrong. Let OTP handle itself.
Just don’t use Task.async inside handle_continue at all. It will simplify your code and the app should behave properly. However, I have no background in your challenges – or how many other initialisation activities you need.






















