Add sleep time
Merge pull request #38 from axsh/fix-event-spec

Add sleep time