(Yet another question in a series demonstrating my rather embarrassing ignorance of standard Lie theory... I hope this is not too basic for MO!)

To be a little more precise: let $G$ be a real connected Lie group, not necessarily simply connected, and let $R$ be its solvable radical. Then (see the EOM entry, for instance) $G$ can be written as $R\cdot S$ for some maximal semisimple, connected Lie subgroup $S$. Having looked online, I get the impression that $S$ need not be closed. Is this impression correct?

(As mentioned in the link above, if $G$ is simply connected then a Levi--Malcev decomposition of its Lie algebra exponentiates to give $G=R\rtimes S$ and $S$ is closed.)

The motivation is in some joint work, where we have a property of locally compact groups that is known to pass to closed subgroups, and which we have shown is not satisfied by any connected semisimple Lie group. It would be nice if we could deduce from this that a connected Lie group with this property has to be solvable...