make CqlRecordReader/Writer autocloseable