fix remote worker termination