Enforce socketWriteCallback and stopThisConnection sequential calls.
The idea is to avoid a TSAN reported race between socketWriteCallback (call each time a response was sent) and stopThisConnection called on various error conditions mainly on the receive side.