Nets Hang on For Win in Toronto