fix to ignore error in signal trap context, fails to get thread lock to Engine.emit
Merge pull request #132 from tagomoris/ignore_log_emit_in_trap_thread

fix to ignore error in signal trap context