Solved racing condition in service deregister