Make singlenode work without redis