Can short term losses incurred this year be offset with short term gains in subsequent years?

I have incurred a lot of short term losses but not enough short term gains. I was thinking of taking some long term gains ( at this point unrealized) and offsetting the short term losses with long term gains, but I guess that is not advisable.