Use threads for fw setup and cleanup