I\'m trying to implement many-to-many relationship. The code below works just fine, but I\'m worried that under some circumstances it might fail. For example, if the server is o