[refactor] select.poll() should not be used. This is not supported by all operating systems.