Mutex needs `require 'thread'` in ruby <1.9