Thomas Rowcroft (c.1770–1824), Merchant and Diplomat