Fixed correct wait & timeout for GliaClient