repair getClientByFD function.
 add client ID