add random delay into network requests to simulate real behaviour

Signed-off-by: nigel <nigel.cook@hp.com>