Added thread aborting and process disposing