Adding more runtime errors to find the race condition