[5.0] Restore abort method on Foundation/Application