I got impatient waiting for the bus yesterday, so I started to stroll to the espresso stand a block away. I wasn’t really in the mood for coffee, but that wasn’t the point — and I knew I wouldn’t get any anyhow.

Sure enough, the bus arrived just when I was far enough away from the stop that I had to sprint to catch it.

There really ought to be a word for this:

Misfortunation: Intentionally transforming a desirable event into an undesirable event in the hopes that your bad luck will cause it to occur.