(SERVER-246) Improve Error handling after timeout

Improve the error handling in the `with-jruby-puppet` macro
when borrowing an instance from the pool times out.