use signal to stop process