httpendpoint: Fix race condition when reconfiguring internal pipeline

Wait until all pending pads are blocked before reconfiguring
internal pipeline.

Change-Id: Ieef2aef255b9c18bbcf3e89478c14ba50f7b7e48