preventing repeat packets from the client from being written.