OAS server has a built in command line tool to send commands to a running instance of OAS server. This tool is to be used to send shutdown command to OAS server.