Unregister listener in camera capture job.
This fixes a crash reported on issue #9793.