Fix possible race within get()