FLUME-1849. Embedded Agent doesn't shutdown supervisor.

(Brock Noland via Hari Shreedharan)