close everything when going to sleep