Well, first of all, why would you want to keep them in the closet?

Second of all, I am sure if you open the doors for ventilation it would be fine.