Fixes "cannot join process not started" error