Adding timer for race condition.