There is no magic formula for avoid potential hurt, however you can minimize his potential distress by:
1. Dealing with the situation sooner rather than later, as longer investments of time in a relationship tend to make clean breaks more difficult.
2. If he is insecure, don't make the break about him (even if it is) this tends to prompt the 'i'll change response'. It is better to indicate (if asked) that you need an opportunity to focus on your health and well being in a singular sense
3. Finally it is not advisable to continue the relationship in a friendship mode as this often sends a mixed message to people who are insecure.
Mike