Bug fix for fd set of the client side.