fixes a flaky test in DeploymentActorTest.scala

"Restart app" occasionally failed because `taskTracker.add` was called twice instead of once