This is a three part thread.
1) When it comes to PVC/ABS cement, plastic wood, and wood glues. I buy the smallest containers that will do the job. Trying to save them after several months or even weeks is fruitless. Although I've been able to keep wood glues longer by squishing the plastic bottle till there is no air and then capping.
2) I suppose one could buy two containers and save the unopen one for later. Admittedly, I have not tried that one yet, since the hardware store is only 15 minutes away. There's also a problem with shelf life, what is it? However, just write on the container the date you bought it.
3) This is sort of related. Once found a crack in an ABS connector in the plumbing. It was just enough so there was a slight seepage. It was an odd type of pipe fixture and in a nasty place. To cut out and replace would take maybe a couple of days and be expensive. I cut a vee in the crack and filled it with a layer of cement. Let it cure and repeat. Until it reached the full thickness, just like welding thick steel. Been several years ago. still looks ugly, but it has never leaked.