rm race condition