Add reporting of failed shrink attempts.

This is a change that I wanted to get in for a long time, but didn't probably because we didn't want to bump the version up. Please include it in the next API-incompatible release.