A new study finds a link between working all the time and mental health issues.