When client power off directly, the socket is broken and server may still push messages, which just occurred TCP re-transmission at that time, instead of raising an error immediately. This delayed the will message.