Fix local process race