fix deadlock

all goroutines are asleep - deadlock!