Added done to callback in smartClient.