Let's say I have a bull call spread that expires next year or later. Currently, it is showing a loss. Am I allowed to close this spread, realize a loss this year, and then open an equivalent bull put spread? Or would this be considered a wash sale due to the positions being "substantially identical"?