Wouldn't they be taxed at the bonus rate when they vest (22%)?
The IRS gives you some time to pay the difference; I think if they get their money in the tax year, they're happy. So if you owed those taxes but knew you'd sell in November, the loss would offset the gain, and it'd be like you never owed the taxes. It would work out so you'd pay taxes on the sale price as though it were all short term capital gains. The problem comes if you don't sell in 2019. First, you'd owe those taxes on gains you never really saw. When you realize the loss, you'd be owed the taxes back, but as an offset to gains elsewhere the year you sell, or in $3000 increments for the rest of your life.
The IRS gives you some time to pay the difference; I think if they get their money in the tax year, they're happy. So if you owed those taxes but knew you'd sell in November, the loss would offset the gain, and it'd be like you never owed the taxes. It would work out so you'd pay taxes on the sale price as though it were all short term capital gains. The problem comes if you don't sell in 2019. First, you'd owe those taxes on gains you never really saw. When you realize the loss, you'd be owed the taxes back, but as an offset to gains elsewhere the year you sell, or in $3000 increments for the rest of your life.