Start/Stop While loop in the doBackground method