Automatically set pid length for outgoing requests if not specified.