ok, I still see this: if the messages app is launched but hidden, then it seems like gecko is reusing the frame and redirect it to the new endpoint, and in the end the app is closed.

It doesn't seem to happen if the app is displayed, nor if it's hidden by the lockscreen, so we can say it's not an issue for tarako, since the app will likely be killed anyway.