delay in poll loop