Ensure that JRuby doesn’t deadlock in the reactor restart tests