Not a vet, just a regular physician but with your description of him fine before the soak and then suddenly gasping I would suspect aspiration of water while he was in the soak? Or a piece of his substrate before the soak? I can't imagine and infection beginning so abruptly.
Tom