fix: timeout for race condition