Run UPCR_EXIT_FUNCTION after evalutating the return value.  Fixes #76.