Move parameters inside async task to avoid race condition
Lock on statements to prevent multiple overlapping
Merge pull request #32 from pruby/race1

Race condition in snitch records