Introduce sleep for timing of tests
STAT listener implementation