Fix jruby signal exception