switch to sentry + thread_local