Well, I am not a huge fan of 4betting in first place there actually.
Since you kind of commit yourself there and at the same time they will have really hard time to go broke vs your 4bet with a lot worse. Therefore I'd just fold it preflop and let them have the pot.

Obviously if you raise then you should plan to go broke not fold the hand as you did.