Testing race condition fix