trying to allow ctrl+c shutdown