fixed shutdown on proc end. again.

meh.