Remove FD_WRITE waiting.
Fix bug with string user identifiers.
Check return code.