Server: handle race condition on connection shutdown
When client sends a command and disconnects immediatelly it is possible
that the Connection gets mostly torn down from a nested event loop
before we get back to the main loop in handleIncomingData(),
leading to m_socket being null when we try to access it.
BUG: 394071
FIXED-IN: 5.8.3