This is a fix for QPID-1571 After M4 release we should probably revisit the SSL close logic. The current fix was done with causing as less impact as possible on the tested code paths.