added aborting of circuits