Adding sleep to make test work on servers