How does Hangfire handle shutdown in the middle of a job method

I have following method which is called every minute.

Question : If something happens after sending of second email but before the last email is sent in the below method , then how will Hangfire handle this failure or Hangfire will not handle it at all and its the developer’s responsibility to handle such cases?

Method that needs to execute every minute

  public static void SendJobEmail()
	{
		string guid = Guid.NewGuid().ToString();
		EmailJob.SendEmail("abc1@abc.com", null, null, "first@msn.com", "First Email id " + guid, "This is an email sent by the automated HangFire job at following time : " + DateTime.Now, null);
		System.Threading.Thread.Sleep(30000);//after 30 seconds the job executes the next email
		EmailJob.SendEmail("abc2@abc.com", null, null, "second@msn.com", "Second Email id " + guid, "This is an email sent by the automated HangFire job at following time : " + DateTime.Now, null);
		System.Threading.Thread.Sleep(30000);//after 30 seconds the job executes the last email 
		EmailJob.SendEmail("abc3@abc.com", null, null, "thirdd@msn.com", "Third Email id " + guid, "This is an email sent by the automated HangFire job at following time : " + DateTime.Now, null);
	}

Scheduling this job

  private BackgroundJobServer _backgroundJobServer;
void Application_Start(object sender, EventArgs e) 
{
    // Code that runs on application startup
    GlobalConfiguration.Configuration.UseSqlServerStorage("Jobs");
    _backgroundJobServer = new BackgroundJobServer();

    RecurringJob.AddOrUpdate(() => EmailJob.SendJobEmail(), Cron.Minutely());

}