r = super(AM, self).write(packet, amId, timeout, blocking)
while not r:
r = super(AM, self).write(packet, amId, timeout, blocking, inc=0)
r = super(AM, self).write(packet, amId, timeout, blocking)
while not r:
r = super(AM, self).write(packet, amId, timeout, blocking, inc=0)