test for poll instead of get