This commit compensates for buggy poll(2)