process exit on disconnect