Document behavior in finish() function

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>