Disabled SIGPIPE generation for socket write failures
Added logging for select() error