introduce STOPPED state to PlatformAgent (CIDEVSA-455)