Mayor: New law may ease problem of congested docks