notify controller the end of reading