Stop and start sssd in the correct order

Ticket: #6960