Fix to call leo_pod:checkin in appropriate timing