Add a short sleep for trial fix of a possible race condition /issue #28