Bugfix process race condition