A spokesman for NSW Fire and Rescue said the gas was isolated at the mains, where the school organized a plumber to identify the source of the leak.