dispose method
Disposes of this camera and all other resources.
After running this, the camera should need to be opened again.
Implementation
void dispose() {
disposeCamera();
frameTimer?.cancel();
fpsTimer?.cancel();
statusTimer?.cancel();
}