Fixes another deadlock