Press shift to sprint, hold down forward, hold down right click, tap A or D as rapidly as possible. If you're fast enough your bar won't go down at all (in fact it'll regen), but even if you're slow you should notice a decrease in the speed at which it decreases.