closing FIS when finish parsing emails