In KMSClientProvider# createConnection
ex may be swallowed when close highlighted in the code throws exception. Thanks qwertymaniac for pointing this out.
BTW, I think we should be able to consolidate the two is.close() in the above code, so we don't close the same stream twice. The one in the finally block may be called after an exception is thrown or not, and it may throw exception too, we need to be careful not to swallow exception here too.