when in sleep remove the processing of gpio to board