The OnUploadCGITimeoutFailed event occurs if server has dropped connection while uploading some files to CGI script.
If the CGI program is PHP script, then sometime this can be fixed by increasing of "max_execution_time" and "max_input_time" variables in configuration (PHP.ini).