Properly queue the requests and replace input.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>