Social Security will never "run out", due to the nature of it. The taxes from people currently working are what directly pays those who are currently retired and drawing on it.
Now what could happen is one of two things. Either the benefits get cut to match the tax revenue at that time (estimates I've seen is that SS can drop to about 70% of what it is now), or that payroll taxes will increase, and the cap raised or eliminated.