Get your taxes done using TurboTax

Just STOP buying stock B for at least 31 days.  If you do then all the wash sale losses will be released.