fixed reader resource not being closed