Fix issue 10527: make multiprocessing use poll() instead of select() if available.