Auto close


#1

Add capability to auto close after left open.