Stops cxgen counter after last output