avoid issues like https://github.com/getsentry/sentry-ruby/pull/2000
avoid issues like #2000