Terminate on-demand instances