AMT_STOP Removes the AMT-related paths and clears persistent variables
Description:
amt_stop restores the paths to their state prior to runnnig amt_start and clears the
memory of all persistent variables within the amt core functions. This
function facilitates working with different AMT versions.