EDIT: To clarify, this does not work in combat, and it does not work with the red handed debuff, or any debuff that prevents you from hearthing.
Give us the option to be able to auto hearth after a certain amount of time passes when we lose connection, the amount of time determinable. It would be stupid to die because you were foraging and happened to dc and the criminal debuff prevents logout. The fix to this would be using alts for foraging, but some people, (Like me) like to put ourselves out there, so people I attack have a chance to get revenge, but if I dc out foraging and die to an animal or a player by the time I'm able to login, it would be more than pointless.
Also reduce the ridiculous 1 hour red handed debuff and reduce it to 15 min. An hour for red handed it just pointless when you can just sit in a vault or use a trail to go back home. You can't logout as a criminal, so whats the point of blocking hearth for an entire hour? 15 min is already more than enough time to get back to a trail back home, and if they don't catch you In 15 min then they will never catch you in an hour due to the aforementioned trails/vaults.
If you are really gung ho on an hour, then change the mechanic. Block hearth for 15 minutes, and make it take 5 minutes to hearth while under red handed for an hour. If they aren't coming after you with 15 MINUTES of no hearth, AND 5 WHOLE MINUTES of you standing still to hearth, then there isn't a universe where they catch you.