Rested debuff disappears on game close

The rested debuff you get for 4 hours of resting disappears if you exit the game for any reason. Little frustrating when that buff disappears because the game crashed.