folow pattern for checking POLLIN
DRY socket polling/recv
DRY schedule eval
Merge pull request #10394 from Stelminator/minion_dry2

DRY in minion.py