Added try + catch to json loading so that we don't get a tracelog when connections are closed part way through