Azure WebJob Issue

Anyone used hangfire in a azure webjob? I’m having issues with it reporting its heartbeat but also, how would it shutdown gracefully?