Leak stopped at scene of derailment