The problem occurs when one of the long running command is forcefully killed by process.kill
After that whenever I try to execute a command it raise Command 'extension.commandName' not found error.
Note: All the commands are properly registered in package.json under contribution>>command. Commands are also included as part of activationEvents. Keybinding also in place for the registered command. I have also checked similar issues like this but that did not cover my scenario.