Re-added clearclient before refreshing