This is a play on words. A "fly" is a buzzing insect but "fly" is also a term for a trouser zip, which is something a tailor is likely to work on.
' ' Waiter , there ' s a fly in my soup ! ' ' ' ' Force of habit , sir , the chef used to be a tailor .