Could I cancel the socket connection when a condition is met in mount?
In those cases, I would like mount to only be called once and render static content.
I had a look at the functions of LiveView  but I didn’t see any that fits.
Is it possible to do it? Could you point me to the right direction to do it?
 Phoenix.LiveView — Phoenix LiveView v0.16.3