handle abort