Skip irrelevant test on JRuby.

JRuby doesn't fork, so we don't need to reconnect.