Hi,
Try below codes into your script.
Place these codes at very top of the script before application URL gets loaded.
web_set_sockets_option("OVERLAPPED_SEND", "0");
web_set_sockets_option("IGNORE_PREMATURE_SHUTDOWN", "1");
web_enable_keep_alive();
web_set_sockets_option ("CLOSE_KEEPALIVE_CONNECTIONS", "1");
web_set_sockets_option("MAX_CONNECTIONS_PER_HOST","1");
Thanks
Deepak