Move pdf creation to delayed job