RUBY-475 fix for threaded pinning_test