Avoid mutex from trap context
Merge pull request #271 from rubencaro/avoid_mutex_from_trap_context

Avoid mutex from trap context Ruby2