The solution you implemented seems good, but I’d like to understand the main reason behind it. My application was working fine initially, yet the problem keeps reappearing after some time.