Fix race condition in execCommandGC Upstream-commit: bdcc3ebe4168a72a0f12d171e674905f2fb40d01 Component: engine