hg: bsd-port/bsd-port/jdk: . Fix a segfault for FreeBSD under high load by reverting to the poll()