Shutoff server before snapshot

Change-Id: I08bb70363244a93d6f6c9be9d49117d79ea7d80f
Add launch condition

Change-Id: Id4726a20dcd0f8b8a7b01d4555bccdf28c071617
FIx bug

Change-Id: Ibc42536f37d4b005a36021322583497473146917