Selena Gomez to take career break after panic attacks