[PDI-10682] Fix race condition on getParameterMap, getInputStream, etc t...

...hat causes POST parameters to be consumed prematurely.