Attempting to debug why background jobs aren't always waited for