It may help to make the whole area unattractive. You can spread fly paper around or place empty plastic jugs around the machine so he'll knock them over and startle himself or put any small unpleasant items on the table, such as bottle caps with the edges up. At least, that's the advice my vet gave me for kitchen counters.