Problem with TCP requests

Will queuing the inputs and only allowing new input once tcp responds work

[{"id":"7f219818a234a3c6","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"eeeeee","payloadType":"str","x":510,"y":520,"wires":[["3b447fd41df4372d"]]},{"id":"3b447fd41df4372d","type":"function","z":"d1395164b4eec73e","name":"add \"\\r\\n\"","func":"msg.payload = msg.payload + '\\r\\n';\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":660,"y":520,"wires":[["34183a5dc8964902"]]},{"id":"34183a5dc8964902","type":"delay","z":"d1395164b4eec73e","name":"queue","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"60","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":790,"y":520,"wires":[["070c7ad63dc32855"]]},{"id":"9064a9d7a789745c","type":"function","z":"d1395164b4eec73e","name":"function 53","func":"msg = {flush: 1};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1030,"y":420,"wires":[["34183a5dc8964902"]]},{"id":"070c7ad63dc32855","type":"tcp request","z":"d1395164b4eec73e","name":"Kairos SimpleProt-3005","server":"localhost","port":"3005","out":"char","ret":"string","splitc":"\\n","newline":"","trim":false,"tls":"","x":1000,"y":520,"wires":[["79598df596cfbe05","9064a9d7a789745c"]]},{"id":"79598df596cfbe05","type":"function","z":"d1395164b4eec73e","name":"Raw text to json ","func":"var data1 = [];\n\n// remove addiitonal \\r\\n caracters in CP list: \nif (msg.topic == \"listCP\") {\n\ndata1 = msg.payload.substr(0,msg.payload.length-4);\n}\n\nelse {\ndata1 = msg.payload.split(\"\\r\\n\");\n};\n\nmsg.payload = data1;\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1250,"y":480,"wires":[["c4ed1a234de9cfc6"]]},{"id":"c4ed1a234de9cfc6","type":"debug","z":"d1395164b4eec73e","name":"debug 342","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1150,"y":580,"wires":[]},{"id":"2e80c8be5fec29f9","type":"tcp in","z":"d1395164b4eec73e","name":"","server":"server","host":"10.70.240.51","port":"3005","datamode":"stream","datatype":"utf8","newline":"\\r\\n","topic":"","trim":true,"base64":false,"tls":"","x":570,"y":600,"wires":[["3ad5731de3d9aa2b"]]}]