Race Condition In Critical Section