And that is probably mostly fine since HTTP is
or is supposed to be stateless. IMAP by design can reconnect and one can work around SSH by using MOSH [1] in those cases which is stateless and great for lossy and/or mobile networks.
[1] - https://mosh.org/