Fix KQueue will cause CPU 100%