Changed tooling API shutdown so that it stops any daemons started by the current process (only for >= Gradle 2.2).