supervisor: support callback when graceful stop is done