I don't understand that picture, demoman is the class worst off for close range. If he's smart enough to set up sticky traps, there's still quite a bit you can do as a scout.
1) You could shoot to destroy the stickies
2) You could go a different route and surprise the demo
3) You could actually use the shortstop like it was intended to be used. (A medium range scattergun)