JBTM-1674 fix memory issue in HybridSocketEndpointQueue

!MAIN !XTS !QA_JTA !QA_JTS_JACORB !QA_JTS_JDKORB