[FIX] changing the railtie to reset the redis connectino and app init