Viny, Joseph, Commissioner for repairing Rye harbour