Handle the exception if process is not running