This moves the enabling/resetting of the file descriptors inside the capture loop so it is done before each select call. Why this even worked before is unclear, but doing it the *right* way seems to reduce latency.