Option for disabling automatic exception capture

Fixes #26