ruby-2.0 can't have a mutex inside a trap context: https://bugs.ruby-lang.org/issues/7917
Merge pull request #1 from benprew/deadlock-fix-for-ruby-2.0

ruby-2.0 can't have a mutex inside a trap context: https://bugs.ruby-lan...