Allow jaylink_exit() to return errors