close fb file descripor on exit