Maxwell takes break from cricket to look after his mental health