The JointTrajectoryController in ros2_controllers had a race condition in which trajectory execution could erroneously succeed while the robot was still in motion, which caused undesirable behavior when performing multiple motion plans and trajectories in series.
Since this repo's ScaledJointTrajectoryController is based on JointTrajectoryController, it probably also has the same problem.
To resolve this, the changes from ros-controls/ros2_controllers#565 need to be applied to ScaledJointTrajectoryController.