finishrecording, update session as finished