There's no option available in NeoLoad to catch a specific error type. You can post an idea on that community web site so it could be added in NeoLoad future versions.
Also that error means that NeoLoad successfully sends the request but it did not get any response back from the server after 5 minutes timeout. Like you said it could be due to input data or the server that was overloaded at that time.