controller: avoid fd leak if JSON schema parse fails (#3907)
controller: avoid fd leak if JSON schema parse fails (#3907)

Signed-off-by: Jorge Ferreira <f742366dcdd5e74aea8df890f4093a71ba830ede@gmail.com>
lmars/flynn,flynn/flynn,flynn/flynn,flynn/flynn,lmars/flynn,philiplb/flynn,lmars/flynn,philiplb/flynn,flynn/flynn,lmars/flynn,philiplb/flynn,philiplb/flynn,lmars/flynn,philiplb/flynn,flynn/flynn