Ensure executors' spinning API handles shutdown properly. (#563)
Ensure executors' spinning API handles shutdown properly. (#563)

Signed-off-by: Michel Hidalgo <2c7f9fd20fbeb41ce8894ec4653d66fa7f3b6e1a@ekumenlabs.com>
ros2/rclpy,ros2/rclpy