Protection for insulin pump