Detect ongoing .NET exceptions