run javaagents as daemon threads so that they don't prevent apps from terminating
Merge pull request #1236 from ahgittin/fix/jmx-javagent-daemon

run javaagents as daemon threads so that they don't prevent apps from terminating
ServiceReplacerTest: make less time-sensitive