Logging intermediate point clouds to the database and handling preemption of the pan tilt task.