need to terminate the process when we abort error handler