How to mitigate risks in a joint venture