A cargo ship got dangerously close to hitting a New York City bridge