Suppose $G$, $K$ and $H$ are finitely generated infinite groups such that
$$1 \to K \to G \to H \to 1$$ is a short exact sequence.
Question: Are there examples where this sequence does not split?
There are examples of such groups when $H$ is finite(Does every short exact sequence split?) or when $G$ is not a finitely generated group (Example of a non-splitting exact sequence $0 → M → M\oplus N → N → 0$).
Thank you for your help.