[IOTDB-3219] fix stop-server on windows (#5936)