CLOUDIFY-1595 fix agent shutdown