Close Share Window Automatically