for multithreaded set*id/setrlimit, handle case where callback does not run