Sweets manufacturer Kenafric Industries Limited has lost a High Court bid to stop its closure by the Nairobi City County over pollution.