sqlite/jruby/rails 4.1 had a reproducable hang if the sleep was in the with_connection block
Travis will run the tests with jruby, but failures are allowed.
I shouldn't need rake as a dev dependency.