camera: allow execution to happen in case of error
camera: we wait for close