[extension-stop] provide an extension stop hook, tread carefully

#485