You have answered that Newton’s Second Law of Motion is generally valid.

$\vec{F} = \frac{d(m\vec{v})}{dt} = m\frac{d\vec{v}}{dt} + \vec{v}\frac{dm}{dt}$