I've heard that your best bet is to keep some Listerine in a spray bottle in your snake room. Just spray the part they're biting (basically so they taste it) and they let go. Any mouthwash with alcohol in it should do.
The alcohol tastes bitter to them, which makes them think 'Crud, I bit something poisonous, ew ew ew!' And let go.