prevent double ack race conditions