It's possible that the command starts but the socket isn't ready even when the file exists.
codersdk
agentsdk