How to properly release an AVCaptureSession How to properly release an AVCaptureSession multithreading multithreading