pollMany method fixed