Added DontCollectException which CommonMemoizer is sensitive to such
that when these exceptions are caught, they aren't persisted but simply
passed on upwards.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>