fixed early nack
fixing receiver sends invalid nacks (in case of a very late packet due to bad network)
linux fix