kdnet: fixed connection state handling when sending to-be-ACKed packet