Added proper shutdown for the nvidia card