Resolve some spec hanging on JRuby