added handlejson sleep
this is how it is supposed to be, i guess.
cleanup. it works!
Merge pull request #16 from nikhan/master

working synchronizer