catch and cleanup on os.Kill too