python*: Use poll instead of select in ckflush.