attempt to resend commands upon err