IDataReader Close fix.

Data reader should be closed inside critical section.
Otherwise concurrent usage can yield exceptions about data reader not beeing closed.