Ignore exceptions that we are expecting (fixes #537)