Minecraft Bedrock disconnects me from any server after I tab out of the game. Doesn't matter whether I do it for 5 minutes or 1 second, still disconnects me. Same thing happens with Xbox Live when I'm playing singleplayer (an error message appears on the pause screen saying "can't connect to Xbox Live, please re-enter world"). Seems like it terminates the connection once the game isn't focused on.
(I hope this wasn't already reported, I searched about this problem here but couldn't find anything)
Related issues
duplicates
Comments

Thank you for your report!
We're tracking this issue in MCPE-109879, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki