Shut down supervisor before starting it in foreground

Added shutdown for nailgun and ostf containers.

Change-Id: I7db970fed80cebcdfa3298eef94061709bae45b4
Partial-Bug: #117250
Merge "Shut down supervisor before starting it in foreground"