add stop action for batch