Redis based shutdown

there's this and another following indent change, maybe remove them as they might not line up with the formating the main project chooses to use