The 32-year-old had a history of mental health issues but had frequently failed to take his medication