Exterminator

An exterminator was someone who eradicated non-sentient lifeforms, generally insects, from areas where they were unwanted.

Doctor Paul Stubbs likened nanites which had taken control of the USS Enterprise (NCC-1701-D) in 2366 to mosquitoes. Not believing that the nanites were sentient, he suggested that they be dealt with in the same manner as a "mosquito that bites your ear", with an exterminator. The eventual discovery of the nanites' sentience, however, precluded that possibility.