Added header for closing background thread section