move yield out of critical section, duh..