small fix for stop and run autagent on linux