3.3.3 JSMCLOSE
The JSMCLOSE is used to end the connection to the Java Service Manager. It is good programming practice to use a JSMCLOSE before ending your function.
The SERVICE_UNLOAD does not have to be executed if a JSMCLOSE is being executed.
If your function is using JSMDirect, do not use the SERVICE_UNLOAD command, just issue the JSMCLOSE to send the last command byte array response back to the HTTP client.