close the channels when stopping the component
loading schema