sync: add poll support