tunning pipe deadlock