try to kill proc at end