Set YCM's preview window to close after completion.