refactor main.cpp
Fix regression with USE_REDIS (refactor_main)