Dmitry Timoshkov : server: Set error to STATUS_PROCESS_IS_TERMINATING if the process is terminating.