CA-103101: Create a background process from restart_agent to restart the entire toolstack.

Merge-request for clearwater. 
Duplicate of pull request #1235