Also check config.allow_concurrency to match Rails 4.2 behavior for Rack::Lock