Hopefully fixing intermittent test failures

Basically, IO is non-deterministic, introduce a very slight delay to make
sure that the log tail is properly set up before writing to the mock
server log.  This should vastly reduce the chance for a mock server
log write to happen before the log tail is properly set up