Fix EZP-21058: Do not fork in updatesearchindex when using a single process