FORGE-1802 Forge hangs when shell command initialization fails