Aff Stuck in the midway of Flow

Hey, Currently we have a very big project in purescript 0.11.7 with purescript-aff@3, recently we moved to purescript-aff@4.0.2
And we are seeing a strange behaviour, after the deployment of code after an hour the aff is getting struck and no more code flow is happening. Any Idea what can cause this. (It’s still a old version but can’t update because of some internal issues, but soon we will update to latest)

It’s difficult to say without seeing code, but you should note that there have been several bug fixes since 4.0.2 to address issues in the implementation, so unfortunately one cannot rule out Aff bugs themselves.

Otherwise I would scrutinize any shared resources which might result in deadlocks (AVars and libraries that use AVars).