You can also use _netdev in the mount options, then systemd mount generator will generate the dependency on network automatically.