Attempt to prevent race conditions. Wild guess.