fixed MLHR-924
closing the reader instead of calling deactivate
Merge pull request #791 from gauravgopi123/MLHR-924

fixed MLHR-924