I've had different timeouts across different browsers so they lose connection on things like Cloudron web-terminal sessions, which then reload losing the work, unless using screen etc.
Sometimes there is also aggressive memory management for tabs that wants to unload things that look idle or use a bunch of RAM.
Check the performance settings of the browsers to see if it's set.