Change it to thread safe version for sidekiq