variable wait for response in getPIDdata rather than resend.