bug fixed for dataSource.restart()
Merge pull request #663 from wenshao/master

bug fixed for dataSource.restart()