NY acts to keep oil from reaching Delaware River