Gearing up to retire within two years? Here are some tips you might want to pay attention to in case the economy slips into a recession.