Fix bug in case of TCP disconnection while calling send
Add read_ctx_lock to prevent calling read_callback from direct sending call