How to minimize layer lines when pausing/resuming print

Do you really need glue? Or wait for it to dry?
If you pause the print to insert the magnets, aren’t they sufficiently encased at the end of the print?