....most probably the leak would hv stopped after the captain shut down the engine...what he should hv done immediately anyhow.
Shutting down the engine would not stop a fuel tank leak. The engine was more than likely shut down before the spraying of foam commenced.