Found error in wait-for-start routine