properly exit when ctrl+c is hit