add more detail in logs for debugging race condition