fixing redis after fork issue