
If a DCB is closed before a response to the handshake packet is received, the DCB's session will point to the dummy session. In this case no error should be written to the DCB. This is a cherry-pick of commit f53e112bf49766f1cc55516c2d7ee571461d483f from the 2.2 branch.