permit only one thread for non-jruby engines