If you've got track passing through a closet or small room, try to minimize the number of rail joints, and thus the number of potential derailment locations, through the small room. Derailments will always happen at the most inopportune time, especially when this small room is in use.