kill proc on exit