Shutdown rippled before http server in json rpc test to avoid http server potentially receiving messages due to automatic ledger close interval.