Social Security office will close earlier