JumpMaxHoldTime

Hey does anyone know how I can use JumpMaxHoldTime properly because Im setting it, using Jump and StopJumping and its working but am I meant to change my JumpZVelocity, does it have anything to do with it? Also my jump just carries on upwards forever until I let go of the space button. Anyone know how to fix this, thanks.