[PATCH 20/20] sap: do a proper shutdown of the channels