[Bug#52688] Fixes https://issues.jboss.org/browse/EJBCLIENT-68