lib: finish: cleanup

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>