Does he have problems in other "noisy" situations? What happens if you turn on a fan or the vacuum cleaner? If he does the same thing with the vacuum, I would suggest the vet. If it only happens with your sewing machine, maybe you should have the machine checked.