Fixed bug when 'sids' change while iterating
Concurrency fixes
Bumped version to 0.3.1-beta
Merge branch 'release/0.3.1'