sleep on every N'th event