Fix race by copying service