session: terminate process groups instead of just the particular child