Improved config.ru to possibly prevent any potential memory leaks.