IMAP IDLE?
So now you’ve packaged the problem in a new layer that doesn’t solve anything but creates new problems.
The concept of an open connection waiting for the server to say anything is not novel or special, it just, as we already know, doesn’t really work reliably, you have to do more work to make it reliable.