Only wait on $BASHPID of the caching process