Nigel Feckey was failed by the custodial system and took his own life, a coroner says.