It will be clearer if _initRedis and _respawn are not called if customRedis is passed, this can be done just with an else when checking the argument