add the function of readerControl to control the reader open/close