Adding script to check if redis is online and attempt to restart it