wait 10 to 15 seconds (mentally count slowly) and then close the door
could be adjusted to be more accurate, but I'm not in the mood to analyze it thoroughly