Basically, I want to say something like
- Don't leave the door open when you leave the office.
However, this sounds a bit awkward in my opinion because it has two leaves in a row. So, I thought about the other possible ways and came up with the following sentences.
Don't leave the door open if you are not going to be inside the office for a while.
Don't leave the door open if you are not going to be here for while.
They look to me as a bit wordy. I am wondering what is the common or idiomatic ways to say this.