check reader is open before trying to close
should check for ismapped first