Fixed possible race found by bmiklautz