Fixed concurrency issue when scheduling the next poll operation for

events.