sleep after closing decoder