Handle error when commandwatcher subprocess fails before updating command