BlackBerry may leave the handset market if it can’t turn a profit next year