### Package Sentry ### .NET Flavor .NET ### .NET Version 6.0.0 ### OS Windows ### SDK Version 3.34.0 ### Self-Hosted Sentry Version _No response_ ### Steps to Reproduce 1. Override `OnBeforeSend` to return null when event has exception of type `SomeException`. 2. Throw `SomeException` from a `Task.Run` func. ### Expected Result Sentry filters out the exception. ### Actual Result Sentry still sends the exception "home".