Moved call to poll_resume() to witthin idle loop