BlackBerry is willing to stop making phones if they keep losing money