krocodl
Contributor

I suspect, that you have to call 

TProtocol#getTransport().close()

 in case of catching exception inside 

HS2Client#openSession();

 In this case you have also rewrite TETHttpClient#close() in order to call ((ExtendedHttpClient)this.m_client).close(); in any cases.

After that my test started to work properly.

View solution in original post