Fix return values when a plug-in is aborted.