fixed missing FLI device shutdown