fixes #14, fixed bug never trigger the EPOLLOUT event