Added comments about race conditions