Fixes #791 Exceptions in close cause empty JedisPool and then deadlock

This is a fix for https://github.com/xetorthio/jedis/issues/791 which is giving us problems in our production code.

Creating a test for this was a bit interesting without Mockito, but managed to mock the failing behaviour and create a test for the defect, even if it is not the most prettiest of tests out there. :)
I like the solution. The fact that it's specifying the correct message for the exception makes easy to find problems in production. I'd stick to the current option.