asyncify poll()

For #2590.
Not sure how I can create a test case for this.