Nets rally, but can’t close out Raptors