A counter-example for the infinite dimensional case:
Let $V$ be a vector space with a basis $\{e_i\mid i\in \mathbb{Z}_+\}$ and $V_p=\langle e_i\mid i=1,\dots,p\rangle$. Consider
$$\mathfrak{t}_\infty:= \{ x \in \mathfrak{gl}(V)\mid x(V_i)\subset V_i \} .$$
as a lie subalgebra of $\mathfrak{gl}(V)$.
Let $E_{ij}$ be the linear transformations on $V$ such that $E_{ij}(e_j)=e_i$ and $E_{ij}(e_p)=0$ if $p\neq j$. Then, we have the formula
$$[E_{ij},E_{kl}]=\delta_j^kE_{il}-\delta_l^iE_{kj}.$$
Convince yourself that
$$\mathfrak{h}:=\{x \in t_\infty \mid x(V) \subset \langle e_i\mid i>1\rangle \}$$
is an ideal of $\mathfrak{t}_\infty$.
So, we have that
$$rad( \mathfrak{t}_\infty / \mathfrak{h})=$$
$$\langle E_{1j} \mid j>1\rangle / \mathfrak{h}.$$
Suppose, by absurd, that
$$\pi ( rad(\mathfrak{t}_\infty) ) = $$
$$rad( \mathfrak{t}_\infty / \mathfrak{h}) =$$
$$\langle E_{1j}\mid j>1\rangle / \mathfrak{h}.$$
This implies that
$$\langle E_{1j}\mid j>1\rangle + \mathfrak{h} = $$
$$rad(\mathfrak{t}_\infty) + \mathfrak{h}.$$
Therefore,
$$\langle E_{1j}\mid j>1\rangle + \mathfrak{h} \ni E_{12}=$$
$$x + y \in rad(\mathfrak{t}_\infty) + \mathfrak{h}$$
for some $x \in rad(\mathfrak{t}_\infty)$ and $y \in \mathfrak{h}$. Then
$$rad(\mathfrak{t}_\infty) \ni $$
$$[E_{11},x]=$$
$$[E_{11},E_{12}]-[E_{11},y]=$$
$$E_{12}+0=E_{12}.$$
This, again by the formula given above, implies that
$$rad(\mathfrak{t}_\infty)$$
contains
$$t_\infty ':=\{x \in \mathfrak{t}_\infty\mid x(V_1)=0\textrm{ and } x(V_i)\subset V_{i-1}, i>1\}$$
that is a non-solvable ideal of $\mathfrak{t}_\infty$. A contradiction.