Zero error code on socket shutdown to prevent misleading log info