Make sweeper code thread-safe
Merge pull request #141 from aduraj/master

Sweeper code isn't thread-safe.