Hargrave, Lewis, Consul at Mahon