wait for pipeline has its own thread, second accept on server is not working correctly