fix task3_server pid detection