Fix race by copying service
Merge pull request #16 from flynn/fix-service-race

Fix race by copying service