FIX: instantiate WMS and sandbox clients only when needed